﻿using System;
using System.Collections.Generic;
using Survey.Model.EntriesEntities;

namespace Survey.Model.SurveyEntities
{
    public class Questionary  
    {
        public virtual Guid Id { get; private set; }
        public virtual int Code { get; set; }
        public virtual bool IsAnswered { get; set; }
        public virtual bool IsControl { get; set; }
        public virtual int Step { get; set; }   
        public virtual DateTime FillDate { get; set; }
        public virtual Student Student { get; set; }
        public virtual SurveyEntity SurveyEntity { get; set; }

        private IList<Question> _questions = new List<Question>();
        public virtual IList<Question> Question 
        {
            get { return _questions; }
            set { _questions = value; } 
        }
    }
}